package com.iss.okair.db.mapper;

import com.iss.okair.db.entity.AssetsCar;
import com.iss.okair.db.entity.AssetsTranUse;
import com.iss.okair.db.entity.Assetstrans;
import com.iss.okair.db.mapper.transsql.CarTransSQL;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.SelectProvider;

import java.util.List;

public interface CarTransMapper {

    @SelectProvider(type = CarTransSQL.class,method = "find")
    List<AssetsTranUse> select(AssetsTranUse model);
    @SelectProvider(type = CarTransSQL.class,method = "findout")
    List<AssetsTranUse> selectout(AssetsTranUse model);
    @Select("SELECT *FROM alltranslist WHERE assetsid=#{assetsid}")
    List<AssetsTranUse> Record(String assetsid);
    //领用和转移操作

}
